package analytics;

import wordstat.WordstatParse;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

/**
 * User: Vladimir
 * Date: 21.08.12 Time: 14:06
 */
public class WordstatAnalytics {
    private static final String GEO_CODE = "";
    private static final String GEO_TEXT = "";

    public static void main(String[] args) throws IOException, InterruptedException {
        List<String> phrases = new ArrayList<String>();
        phrases.add("audi 80 бампер");
        phrases.add("audi 80 фара");
        phrases.add("audi 80 капот");
        phrases.add("audi 80 запчасти");
        for (String phrase : phrases) {
            int count = WordstatParse.requestTopRequestCount(GEO_CODE, phrase, GEO_TEXT);
            System.out.println(phrase + " = " + count);
        }
    }
}
